/* stylelint-disable */
@import '~antd/lib/style/themes/default.less';

@font-size-base: 14px; // 主字号
@font-size-lg : @font-size-base + 2px;

@heading-color: rgba(0, 0, 0, 0.85); // 标题色
@text-color: rgba(0, 0, 0, 0.65); // 主文本色
@text-color-secondary : rgba(0, 0, 0, .45); // 次文本色

// vertical paddings
@padding-lg : 24px; // containers
@padding-md : 16px; // small containers and buttons
@padding-sm : 12px; // Form controls and items
@padding-xs : 8px; // small items

.form {
  width: 400px;
  position: absolute;
  top: 144px;
  margin-left: -200px;
  left: 50%;
  text-align: left;
  .panel {
    border-radius: 3px;
    padding: @padding-md*2;
    background: #fff;
    box-shadow: 0 16px 40px 0 rgba(94, 96, 186, 0.24);
    .panelHead {
      & + .panelBody {
        margin-top: 16px;
      }
    }
    .panelTit {
      color: @heading-color;
      font-size: @font-size-lg;
    }
    .panelSubtit {
      color: @text-color-secondary;
      font-size: @font-size-base;
    }
    .formItemCell {
      margin-bottom: @padding-md;
    }
    .formItemTools {
      :global(.ant-form-item-children) {
        display: flex;
        justify-content: space-between;
      }
    }
    :global(.ant-form-item:last-child) {
      margin-bottom: 0;
    }
    :global(.ant-input) {
      line-height: 32px;
      height: 32px;
    }
  }
}
